package com.ml.springboot.service;

import com.ml.springboot.pojo.Leave;
import com.ml.springboot.pojo.VO.LeaveVO;
import com.ml.springboot.pojo.query.LeaveQuery;
import com.ml.springboot.util.PageResult;

import java.util.List;

public interface ILeaveService {
    /*List<Blog> list();*/
    PageResult list(LeaveQuery leaveQuery);
    void deletedById(Integer id);

    void deleteAll(Integer[] ids);

    void add(Leave leave);

    Leave selectById(Integer id);

    void update(Leave leave);

    void pass(Integer id);

    void nopass(Integer id);

    List<LeaveVO> leaveCount();
}
